Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Graphics /
Chapter 6 - Picture Shapes / Applying Functions Described Elsewhere to Picture Shapes


Shape-Related Functions Applicable to Pictures

You can apply all of the functions described in the chapter "Shape Objects" in Inside Macintosh: QuickDraw GX Objects to picture shapes. These functions allow you to

Table 6-3 gives important picture-related information for a subset of the functions from the chapter "Shape Objects" of Inside Macintosh: QuickDraw GX Objects. Functions described in that chapter that do not appear in this list exhibit the same behavior when applied to picture shapes as they do when applied to other types of shapes.
Shape-related functions that exhibit special behavior when applied to pictures
Function nameAction taken
GXCopyToShapeMakes a copy of the picture shape; the items of the new picture shape reference the same shapes as the items of the original picture shape.
GXCopyDeepToShapeMakes a copy of the picture shape, including a complete copy of the entire picture hierarchy.
GXGetShapeSizeDetermines the amount of memory currently used by all of the items in the picture.
GXGetShapeFillReturns the shape's shape fill, which for picture shapes is always even-odd fill or no fill.
GXSetShapeFillSets the shape's shape fill; you must always set a picture shape's shape fill to even-odd fill or no fill.
GXSetShapeTypeChanges the shape type of the picture shape and converts the shape fill and geometry as appropriate. The resulting shape is a picture with one item--the original shape.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help